package com.sdhs.analyze.dao.device;

import com.sdhs.analyze.bean.*;
import com.sdhs.analyze.bean.device.*;
import com.sdhs.analyze.bean.monitorinfo.PointData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.*;
/**
 * @author liuzhen
 * @date 2020/3/2
 **/
@Mapper
@Repository
public interface DeviceMapper {

    CabientInfo getCabinetByNodeId(String nodeId);

    HwPowerSupply getHwPower(String gantryId);

    HwBattery getHwBattery(String gantryId);

    HwAirCondition getHwAirCondition(String gantryId);

    HwTempHumidity getHwTempHum(String gantryId);

    HwAlarm getHwAlarm(String gantryId);

    GtPowerInfo getGtPower(String gantryId);

    GtAlarmInfo getGtAlarmInfo(String gantryId);

    List<GtBattery> getGtBattery(@Param("gantryId") String gantryId);

    List<GtAirCondition> getGtAirCondition(String gantryId);

    GtTempHum getGtTempHum(String gantryId);

    List<InfoGantryStatusBack> selectGantryBackOnline(String orgId);

    List<InfoGantryStatusFront> selectGantryFrontOnline(String gantryId);

    List<InfoGantryStatusCamera> selectGantryCameraOnline(String gantryId);

    List<InfoGantryStatusRSU> selectGantryRsuOnline(String gantryId);

    List<InfoGantryStatusRSUAntennal> selectGantryRsuAntennalOnline(String gantryId);

    FhAlarm getFhAlarm(String gantryId);
    FhPowerInfo getFhPowerInfo(String gantryId);
    List<FhBattery> getFhBattery(String gantryId);
    List<FhAirCondition> getFhAirCondition(String gantryId);
    FhTempHum getFhTempHum(String gantryId);
}
